package com.fourool.goodsmall.service.impl;

import com.fourool.goodsmall.entity.GSlide;
import com.fourool.goodsmall.mapper.GSlideMapper;
import com.fourool.goodsmall.service.GSlideService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GSlideServiceImpl implements GSlideService {

    @Autowired
    private GSlideMapper gSlideMapper;

    @Override
    public List<GSlide> getActiveSlides() {
        return gSlideMapper.findActiveSlides();
    }
}